<template>
    <div class="article-show float-left">
        <p class="article-title">{{ articleTitle }}</p>
        <p class="article-info">
            <b class="fa fa-clock-o"></b><span> {{ submitTime }} </span>
            <b class="fa fa-th"></b><span> {{ articleLabel }} </span>
            <b class="fa fa-camera"></b><span> {{ visitNums }} </span>
            <b class="fa fa-arrow-up"></b><span> {{ uploadNums }} </span>
            <b class="fa fa-commenting"></b><span> {{ commentNums }} </span>
        </p>
        <hr class="line" />
    </div>
</template>

<script>
export default {
    name: "article-show",
    data() {
        return {
            articleTitle: "vue实现公告栏文字上下滚动效果",
            submitTime: "2021-01-09",
            articleLabel: "JS特效解析",
            visitNums: "553次",
            uploadNums: "13次",
            commentNums: "13评论",
        };
    },
};
</script>

<style lang="scss" scoped>
.article-show {
    box-sizing: border-box;
    width: 53%;
    height: 1000px; //暂定
    margin-right: 1.5%;
    background-color: #fff;
    padding: 20px;
    .article-title {
        text-align: center;
        font-size: 24px;
        letter-spacing: 0.03em;
        padding: 10px 0px;
    }
    .article-info {
        text-align: center;
        font-size: 12px;
        span {
            margin-right: 6px;
        }
    }
}
</style>